package pl.ptemich.tankwars.tools;

import java.awt.Dimension;

public class ScreenTools {

  private int screenWidth, realWidth;
  
  private int screenHeight, realHeight;
  
  public ScreenTools(int screenWidth, int screenHeight, int realWidth, int realHeight) {
    this.screenWidth = screenWidth;
    this.screenHeight = screenHeight;
    this.realWidth = realWidth;
    this.realHeight = realHeight;
  }
  
  
  public Dimension getScreenCoordinate(float x, float y) {
    return new Dimension(2, 2);
  }
  
  
  public Integer getScreenPosX(float x) {
    float res = x;
    return Math.round(res);
  }
  
  
  public Integer getScreenPosY(float y) {
    float res = screenHeight - y;
    return Math.round(res);
  }
}
